package cn.tedu.backend.portal.mapper;

import cn.tedu.backend.portal.model.RecommendTime;
import cn.tedu.backend.portal.model.Season;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RecommendMapper extends BaseMapper<RecommendTime> {
  //查询季节对应景点
  @Select("select * from recommendtime")
  List<RecommendTime> selectRecommendTime();
//    //查询所有
//    @Select("select * from storage")
//    List<RecommendTime> selectAll();
//
//    //删除信息
//    @Delete("delete from storage where storage_id=#{storageId}")
//    int deleteStorageById(int storageId);

}
